package com.yanqu.road.entity.log.vehiclesoul;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_vehicle_soul_compose", desc = "魂石合成日志", autoSave = true, uploadCk = true, dataUpload = true, eventName = "vehsoul_compose")
public class LogVehicleSoulCompose extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "合成的品质1234", dataAttribute = "vehsoul_composequality")
    private int quality;
    @FieldTypeAnnotation(desc = "普通合成锁定类型0不锁定1锁定颜色2锁定形状，一键合成1普通合成2锁定全色(就是出现全色不去合成)", dataAttribute = "vehsoul_composelock")
    private int lockType;
    @FieldTypeAnnotation(desc = "1合成2一键合成3一键合成合到没有当前品质可以合", dataAttribute = "vehsoul_composetype")
    private int type;
    @FieldTypeAnnotation(desc = "合成次数", dataAttribute = "vehsoul_composenum")
    private int composeTimes;
    @FieldTypeAnnotation(desc = "合成品质数量", dataAttribute = "vehsoul_composeresult")
    private String res;


    public LogVehicleSoulCompose(long userId, int quality, int lockType, int type, int composeTimes, String res) {
        this.userId = userId;
        this.quality = quality;
        this.lockType = lockType;
        this.type = type;
        this.composeTimes = composeTimes;
        this.res = res;
    }

    public long getUserId() {
        return userId;
    }

}
